package com.tz.hotelmanager.mapper.impl;

import java.util.List;

import com.tz.hotelmanager.domain.Theme;
import com.tz.hotelmanager.domain.ThemeExample;
import com.tz.hotelmanager.mapper.ThemeMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ThemeMapperImpl implements ThemeMapper{

  @Autowired
  ThemeMapper ThemeMapper;
  
  @Override
  public int countByExample(ThemeExample example) {
    
    return ThemeMapper.countByExample(example);
  }

  @Override
  public int deleteByExample(ThemeExample example) {
    
    return ThemeMapper.deleteByExample(example);
  }

  @Override
  public int deleteByPrimaryKey(Integer id) {
    
     return ThemeMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(Theme record) {
    
     return ThemeMapper.insert(record);
  }

  @Override
  public int insertSelective(Theme record) {
    
     return ThemeMapper.insertSelective(record);
  }

  @Override
  public List<Theme> selectByExample(ThemeExample example) {
    
     return ThemeMapper.selectByExample(example);
  }

  @Override
  public Theme selectByPrimaryKey(Integer id) {
    
     return ThemeMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByExampleSelective(Theme record, ThemeExample example) {
    
     return ThemeMapper.updateByExampleSelective(record,example);
  }

  @Override
  public int updateByExample(Theme record, ThemeExample example) {
    
     return ThemeMapper.updateByExample(record,example);
  }

  @Override
  public int updateByPrimaryKeySelective(Theme record) {
    
     return ThemeMapper.updateByPrimaryKeySelective(record);
  }

  @Override
  public int updateByPrimaryKey(Theme record) {
    
     return ThemeMapper.updateByPrimaryKey(record);
  }
}